package cn.minimelon.bittermelon.exception;

import cn.minimelon.bittermelon.utils.StringUtils;

/**
 * 工具类初始化异常
 * 
 * @author hiro
 * @Date   2018/8/19
 */
public class WebException extends RuntimeException {

    private String expCode;

    public WebException(String expCode, String expMsg, Object... params) {
        super(StringUtils.format(expMsg, params));
        this.expCode = expCode;
    }

    public String getExpCode() {
        return expCode;
    }
}
